public class Users {
    String name;
    String password;
    public  void Login(String Inputuser, String Inputpassword) {
        if(name.equals(Inputuser) && password.equals(Inputpassword)) {
            System.out.println("Login successful");
        }else {
            System.out.println("Login failed");
        }
    }
}
